const service = require('../../utils/service').service

module.exports.getList = (userId) => service({ url: "/medicine/order/" + userId })
module.exports.delOrder = (id) => service({ url: "/medicine/order/" + id, method: "delete" })
module.exports.detail = (id) => service({ url: "/medicine/order/detail/" + id })
module.exports.pay = (id, status) => service({ url: `/medicine/order/${id}/${status}`, method: "put" })
